/**
 */
package com.dingpeikeji.quickdeer.core.modules.orders.dao;

import java.util.Date;
import java.util.List;

import com.dingpeikeji.quickdeer.core.common.persistence.CrudDao;
import com.dingpeikeji.quickdeer.core.common.persistence.Page;
import com.dingpeikeji.quickdeer.core.common.persistence.annotation.MyBatisDao;
import com.dingpeikeji.quickdeer.core.modules.finance.entity.TFinance;
import com.dingpeikeji.quickdeer.core.modules.orders.entity.TOrders;
import com.dingpeikeji.quickdeer.modules.rentproduct.entity.TCargotype;

/**
 * 用户订单管理DAO接口
 * @author lh
 * @version 2016-06-15
 */
@MyBatisDao
public interface TOrdersDao extends CrudDao<TOrders> {
	public void confirm(TOrders orders);
	public void updatesettle(TOrders orders);
	public void orderback(TOrders orders);
	public void trouble(TOrders orders);
	public List<TOrders> findSettleList(TOrders orders);
	public List<TOrders> findWarnList(TOrders orders);
	public List<TOrders> findOrderListBySettleId(String settleId);
	public List<TOrders> findOfflineOrder(String orderstatus);
	public void updateOrderOffline(int id, String orderRemarks);
	public int selectLastId();
	public String findOrderRemarks(String orderid);
	public Double findDueaMount(String orderid);
	public void updateOfferMount(String orderid, String offermount);
	public String findOfferMount(String orderid);
	public int delOrder(String orderid);
	public void updateOrderById(String payway, String out_trade_no);
	public TOrders getOrderByTripId(String tripId);
	public void delOrderById(String orderid);
	public void insertSFZ(String sfzCode, String contacts, String payertel, String id, Integer paycount, Integer orderid);
	public List<TOrders> getOrderByShareId(String id);
	public List<String> getOrderTelByShareId(String id);
	public List<String> checkIsCart(String sid, String userid);
	public List<TOrders> findcus(TOrders orders);
	public List<TFinance> findFinanceList(TFinance finance);
	public TFinance getFinance(TFinance finance);
	public void saveFinance(TFinance finance);
	public void editOrder(TOrders orders);
}
